Add pygrep-hooks in .pre-commit-config.yaml to catch common mistakes in .rst files - #899
Merged
Merged
Conversation
Contributor
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
rwgk
marked this pull request as ready for review
August 25, 2025 19:10
Contributor
|
Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Contributor
Author
|
@leofang Should we skip the full CI for this PR? It only changes these files: |
leofang
approved these changes
Aug 25, 2025
| (currently version 0) as follows: For any Python objects that are meant to be interpreted | ||
| as a stream, they should add a ``__cuda_stream__`` *method* that returns a 2-tuple: The | ||
| version number (``0``) and the address of ``cudaStream_t`` (both as Python `int`): | ||
| version number (``0``) and the address of ``cudaStream_t`` (both as Python ``int``): |
Member
There was a problem hiding this comment.
hmmm... interesting that this is not linking to the docs for Python int anymore, alright let's fix it this way
| - :class:`~_module.Kernel` adds :attr:`~_module.Kernel.num_arguments` and :attr:`~_module.Kernel.arguments_info` for introspection of kernel arguments. (#612) | ||
| - Add pythonic access to kernel occupancy calculation functions via :attr:`Kernel.occupancy`. (#648) | ||
| - Support launching cooperative kernels by setting :attr:`LaunchConfig.cooperative_launch` to `True`. | ||
| - Support launching cooperative kernels by setting :attr:`LaunchConfig.cooperative_launch` to ``True``. |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Copy
pygrep-hooksfrompybind11/.pre-commit-config.yamland clean up a few files (all trivial).New pre-commit.ci - pr output: